package bb.lanxing.view;

import android.content.Context;
import android.util.AttributeSet;

import bb.lanxing.lib.widget.AutoResizeTextView;
import bb.lanxing.manager.FontsManager;

public class FontTextView extends AutoResizeTextView {
    public FontTextView(Context context) {
        this(context, null);
    }

    public FontTextView(Context context, AttributeSet attributeSet) {
        this(context, attributeSet, 0);
    }

    public FontTextView(Context context, AttributeSet attributeSet, int i) {
        super(context, attributeSet, i);
        FontsManager fontsManager = FontsManager.getInstance();
        fontsManager.init(context);
        super.setTypeface(fontsManager.getFont(1));
    }
}